package com.woniuxy.service;

import com.woniuxy.po.Mail;
import com.woniuxy.po.TopicMail;

/**
 * @Author: 马宇航
 * @Description: TODO
 * @DateTime: 22/07/06/0006 下午 4:14
 * @Component: 成都蜗牛学苑
 **/
public interface Publisher {
    void fanoutMail(Mail mail);

    void directMail(TopicMail topicMail);

    void sendNormalQueue(Mail mail);

    void sendTtlQueue(Mail mail);

    void sendDelayMessage(TopicMail topicMail);
}
